package com.quiz.bis.domain.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.quiz.common.core.domain.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 考试参与范围配置表
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("exam_participants")
public class ExamParticipant extends BaseModel {
    private static final long serialVersionUID = 1L;

    @TableId
    private Long id;

    @TableField("exam_id")
    private Long examId;

    @TableField("subgroup_ids")
    private String subgroupIds; // JSON数组格式

    @TableField("excluded_user_ids")
    private String excludedUserIds; // JSON数组格式
}